package cn.iocoder.yudao.module.erp.enums;

/**
 * 常量
 *
 */
public class Constant {


    /**
     * 重大办或县区审核
     * @author mhc 1销售2采购3付款4收款
     *
     */
    public enum  AccountPlanRecord_TYPE{
        //县区
        销售("1"),
        //重大办
        采购("2"),
        付款("3"),
        收款("4");

        private String value;

        private AccountPlanRecord_TYPE(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }



    /**
     * 数据来源
     * @author mhc
     *
     */
    public enum Source {
        //注册
        Regiter("regiter"),
        //添加
        Add("add");
        private String value;

        private Source(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }



    /**
     *
     * @author mhc
     *
     */
    public enum ProjectPrombleState {

        Yes("yes"),
        No("no");

        private String value;

        private ProjectPrombleState(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }





    public enum DictCode {

        //Region("region"),
        ONUType("onutype"),
        Xmlx("xmlx"),
        Jsxz("jsxz"),
        Jsdd("jsdd"),
        Xmlb("xmlb"),
        Qylx("qylx"),
        Wtlx("wtlx"),
        Sslx("sslx"),
        //栏目类型
        Lmlx("lmlx"),
        //企业类别
        Qylb("qylb"),
        GtzzHead("gtzzhead"),
        GtzzNode("gtzzNode"),
        Wttj("wttj"),
        Kgjd("kgjd"),
        Zblx("zblx"),
        Myztlx("myztlx"),
        ;//项目新开工季度


        private String value;

        private DictCode(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }


    /**
     * 节点id
     * @author mhc
     *
     */
    public enum NodeId {

        Company(1),
        Project(2);

        private long value;

        private NodeId(long value) {
            this.value = value;
        }

        public long getValue() {
            return value;
        }
    }
	
	/**禁用启用状态*/
	public enum ApproveState {
       /**
        * 公司审核
        */
    	COMPANY("company"),
    	PROJECT("project"),
    	COMPNYINFO("companyInfo"),
    	REPORT("report"),
    	ARTICLE("article");

        private String value;

        private ApproveState(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }







    /**禁用启用状态*/
    public enum BaseType {
        /**
         * 可用
         */
        ABLE("0"),
        /**
         * 不可用
         */
        DISABLE("1");

        private String value;

        private BaseType(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }




    /**
     * 菜单类型
     *
     * @author chenshun
     * @email sunlightcs@gmail.com
     * @date 2016年11月15日 下午1:24:29
     */
    public enum MenuType {
        /**
         * 目录
         */
        CATALOG(0),
        /**
         * 菜单
         */
        MENU(1),
        /**
         * 按钮
         */
        BUTTON(2);

        private int value;

        MenuType(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }

    /**
     * 菜单类型
     * @author mhc
     *
     */
    public enum MenuFlag {
        MENU("menu"),//菜单
        TYPE("type"),//审核权限
        DATA("data");//数据
        private String value;
        MenuFlag(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }

    /**
     * 短信状态
     * @author mhc
     *
     */
    public enum SmsState {
        SENDED("sended"),//已发送
        WAIT("wait");//未发送
        private String value;
        SmsState(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }
    }
    
    
    public enum SendFlag {
        SMS("sms","短信发送"),
        EMAIL("email","邮箱发送"),
        PROJECT("project","项目内发送");
        private String value;
        private String describe;
        SendFlag(String value,String describe) {
            this.value = value;
            this.describe=describe;
        }
        public String getValue() {
            return value;
        }
    }
    
    
    /**
     * 百度的数据类型
     * @author mhc
     *
     */
    public enum BaiDuType {
        PVCOUNT("pv_count","浏览量"),
        Visit("visit_count","访客数"),

        IP("ip_count","ip数"),
        
    	PC("pc","计算机浏览量"),
    	MOBILE("mobile","移动设备浏览量"),
    	
    	Through("through","直接访问"),
    	Search("search","搜索引擎"),
    	Link("link","搜索引擎"),
    	
    	New("new","新访客"),
    	Old("old","旧访客"),
    	QYAPPUser("qyappAll","企业app所有用户量"),
    	QYAPPSession("sessioncount","企业app累计启动次数"),
    	QYAPPSession7("sessioncount7","企业7天启动次数"),
    	QYAPPSession30("sessioncount30","企业app30启动次数"),
    	QYAPPSessionDay("sessioncountday","企业app每天启动次数"),
    	QYAPPNewUser("newUser","企业每天新增用户数"),
    	LDAPPUser("ldappAll","领导app累计用户量"),
    	LDAPPSession("ldsessioncount","领导app累计启动次数"),
    	LDAPPSessionDay("ldsessioncountday","领导app每天启动次数"),
    	LDAPPSessionDay7("ldsessioncountday7","领导app7天启动次数"),
    	LDAPPSessionDay30("ldsessioncountday30","领导app30天启动次数"),
    	LDAPPNewUser("ldnewUser","领导app每天新增用户数"),
    	PVCOUNT_DAY("pv_count_day","今天浏览量"),
    	PVCOUNT_DAY7("pv_count_day7","7天浏览量"),
    	PVCOUNT_DAY30("pv_count_day30","30天浏览量"),
    	Visit_DAY("visit_count_day","今天访客数"),
    	IP_DAY("ip_count_day","今天ip数")
    	;
    	
        private String value;
        private String describe;
        BaiDuType(String value,String describe) {
            this.value = value;
            this.describe=describe;
        }
        public String getValue() {
            return value;
        }
        public String getDescribe() {
            return describe;
        }
    }


    /**
     * 第三方接口密钥
     * @author jlz
     *
     */
    public enum Interface {
        RTKEY("Ogezi0a8BxuwsA3g"),
        ZHKEY("YTBWmJHECLH1Fq5l"),
        ;
        private String value;
        Interface(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    /**
     * 挂图作战人员设置
     * @author jlz
     *
     */
    public enum UserSet {
        WTSMS("wtsms"),//问题直通车短信推送人
        DEPT("dept"),//指挥长
        LEADER("leader"),//市领导
        BZB("bzb"),//保障办
        TJB("tjb"),//推进办
        XMKPSSMS("xmkpssms"),//项目库批示固定短信发送人
        XMWTPSSMS("xmwtpssms"),//项目问题批示固定短信发送人
        ZBPSSMS("zbpssms"),//专报批示固定短信发送人
        RYPSSMS("rypssms"),//人员批示固定短信发送人
        JYWTPSMS("jywtpssms"),//企业问题批示固定短信发送人
        ;
        private String value;
        UserSet(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    public enum BussinessLog{
        DL(1),
        TC(2),
        CZ(3);
        private int value;

        private BussinessLog(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }

}
